package com.easylinkin.linkappapi.quality.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentDTO;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentPhotoAlbumDTO;
import com.easylinkin.linkappapi.quality.dto.QualityAppraisingExcellentPhotoAlbumQueryDTO;
import com.easylinkin.linkappapi.quality.entity.QualityAppraisingExcellent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 质量评优信息 Mapper 接口
 * </p>
 *
 * @author Xiaoyang
 * @since 2022-09-01
 */
public interface QualityAppraisingExcellentMapper extends BaseMapper<QualityAppraisingExcellent> {

  IPage<QualityAppraisingExcellentDTO> selectDtoPage(Page page,  @Param("customQueryParams") QualityAppraisingExcellentDTO customQueryParams);

  IPage<QualityAppraisingExcellentPhotoAlbumDTO> selectPhotoAlbumByPage(Page page, @Param("photoAlbumQueryDTO") QualityAppraisingExcellentPhotoAlbumQueryDTO queryDTO);

  List<QualityAppraisingExcellentPhotoAlbumDTO> selectPhotoAlbumByPage(@Param("photoAlbumQueryDTO") QualityAppraisingExcellentPhotoAlbumQueryDTO queryDTO);
}
